package com.hibase.core.mybatis.annotation;


import com.hibase.core.mybatis.registrar.MapperClassRegistrar;
import org.springframework.context.annotation.Import;

import java.lang.annotation.Documented;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;

/**
 * hibase扫描mapper文件
 *
 * @author hufeng
 * @date 2018/12/19
 */
@Retention(value = java.lang.annotation.RetentionPolicy.RUNTIME)
@Target(value = {java.lang.annotation.ElementType.TYPE})
@Documented
@Import(MapperClassRegistrar.class)
public @interface HibaseMapperScan {

    /**
     * 扫描包
     *
     * @return
     */
    String[] basePackages() default {};
}
